import getLink from "@/api/getindex.js"
let retailerss = {
    state: {
        text: []

    },
    mutations: {
        update(state, payload) {
            state.text = payload
        }
    },
    actions: {
        rlink(context) {
            getLink("/mock/data/retailers").then((ok) => {
                context.commit("update", ok.data)
            })
        }
    }
}

export default retailerss